package xjtu.sad.zbsj.template;

public class AttributeValue {
    private Integer valueId;//属性值id
    private String valueName;//属性值名称
    private Integer update = 0;//修改时对应的不同情况,0表示没有修改,1是修改属性,2是新加属性,3是删除属性
    private Integer attrId;//属性名id
    private Integer valueOrder;//属性名展示顺序


    public AttributeValue() {
    }

    public Integer getValueOrder() {
        return valueOrder;
    }

    public void setValueOrder(Integer valueOrder) {
        this.valueOrder = valueOrder;
    }

    public AttributeValue(Integer valueId, String valueName) {
        this.valueId = valueId;
        this.valueName = valueName;
    }

    public Integer getUpdate() {
        return update;
    }

    public void setUpdate(Integer update) {
        this.update = update;
    }

    public Integer getAttrId() {
        return attrId;
    }

    public void setAttrId(Integer attrId) {
        this.attrId = attrId;
    }

    public Integer getValueId() {
        return valueId;
    }

    public void setValueId(Integer valueId) {
        this.valueId = valueId;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    @Override
    public String toString() {
        return "AttributeValue{" +
                "valueId=" + valueId +
                ", valueName='" + valueName + '\'' +
                '}';
    }
}
